//============================================================================
// Name        : CppAlgorithm.cpp
// Author      : 
// Version     :
// Copyright   : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================

#include <iostream>
using namespace std;
#include "SubSumHash.h"
#include "SubSumSort.h"
int main() {
	/*SubSumHash *hash = new SubSumHash(100);
	hash->ConstructHashTable();
	hash->Compute2SumList();
	hash->PrintResult();

	delete hash;
*/

	SubSumSort *sort = new SubSumSort();
	sort->ConstructSortList();
	sort->Compute2Sum();
	sort->PrintResult();

	delete sort;
	return 0;
}
